<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/lightbox.min.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/custom.css') }}">
    <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
    <script src="{{ url_for('static', filename='js/lightbox-plus-jquery.min.js') }}"></script>

    <title>{{ title }}</title>
</head>
<body>
    <nav class="navbar navbar-light bg-primary">
        <a class="navbar-brand text-white" href="/">
            <img src="{{ url_for('static', filename='images/kid-icon.png') }}" width="30" height="30" class="d-inline-block align-top" alt="">
        消化器官知多少
        </a>
    </nav>

    <div class="container py-4">
        <div class="card bg-light text-center p-4">
            {% block content %}{% endblock %}
        </div>
    </div>

    <footer class="text-center bg-primary text-white py-3">
    </footer>
    <script>
        lightbox.option({
            'maxWidth': 800,
            'maxHeight': 600,
            'fitImagesInViewport': true
            })
    </script>
</body>
</html>
